﻿using AutoMapper;
using LpbPrj.Client.Reports.Dtos;

namespace LpbPrj.Client.Reports.Mapper
{
    internal static class ReportMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<ReportEditDto, Report>();
            configuration.CreateMap<Report, ReportEditDto>();

            configuration.CreateMap<ReportListDto, Report>();
            configuration.CreateMap<Report, ReportListDto>();
        }
    }
}